package com.dynabook.ems.mapper;

import com.dynabook.ems.model.dto.CategoryOptions;
import com.dynabook.ems.model.entity.EmsCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dynabook.ems.model.vo.CategoryMachine;

import java.util.List;

/**
* @author tester
* @description 针对表【ems_category】的数据库操作Mapper
* @createDate 2025-06-24 09:03:44
* @Entity com.dynabook.ems.model.entity.EmsCategory
*/
public interface EmsCategoryMapper extends BaseMapper<EmsCategory> {

    CategoryMachine getCategoryByItemCode(String itemCode);

    List<CategoryOptions> selectDistinctCategory();

    List<CategoryOptions> selectDistinctDetailCategory(String categoryName);
}




